<?php
function showCategoryMenu()
{	
	include("Libraries/BusinessLogic/games.php");
	echo "<SELECT NAME='category'>";
	echo "<OPTION VALUE=''>Select category</OPTION>";
	$categories = get_categories();
	foreach($categories as $category) {
		$id = $category['id'];
		$name = $category['name'];
		echo "<option value=".$name.">".$name."</option>";
	}


	echo "</SELECT>";
}
?>